package com.buer.storage.common.handle;


import com.buer.storage.common.eumn.ResultEnum;

/**
 *
 * @ProjectName:
 * @Package:        com.buer.storage.common.handle
 * @ClassName:      BaseException
 * @Description:    java类作用描述
 * @Author:         lds
 * @CreateDate:     2021/1/14 17:24
 * @UpdateUser:     更新者
 * @UpdateDate:     2021/1/14 17:24
 * @UpdateRemark:   更新内容
 * @Version:        1.0
 */
public class BaseException extends BaseError{

    public BaseException(ResultEnum resultEnum) {
        setErrorCode(resultEnum.getCode());
        setErrorMsg(resultEnum.getMsg());
    }


}
